package com.shire.shire_interface.model.command;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WxCommandExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WxCommandExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }


    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAccountidIsNull() {
            addCriterion("accountId is null");
            return (Criteria) this;
        }

        public Criteria andAccountidIsNotNull() {
            addCriterion("accountId is not null");
            return (Criteria) this;
        }

        public Criteria andAccountidEqualTo(Integer value) {
            addCriterion("accountId =", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidNotEqualTo(Integer value) {
            addCriterion("accountId <>", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidGreaterThan(Integer value) {
            addCriterion("accountId >", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidGreaterThanOrEqualTo(Integer value) {
            addCriterion("accountId >=", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidLessThan(Integer value) {
            addCriterion("accountId <", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidLessThanOrEqualTo(Integer value) {
            addCriterion("accountId <=", value, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidIn(List<Integer> values) {
            addCriterion("accountId in", values, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidNotIn(List<Integer> values) {
            addCriterion("accountId not in", values, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidBetween(Integer value1, Integer value2) {
            addCriterion("accountId between", value1, value2, "accountid");
            return (Criteria) this;
        }

        public Criteria andAccountidNotBetween(Integer value1, Integer value2) {
            addCriterion("accountId not between", value1, value2, "accountid");
            return (Criteria) this;
        }

        public Criteria andCmdstatusIsNull() {
            addCriterion("cmdStatus is null");
            return (Criteria) this;
        }

        public Criteria andCmdstatusIsNotNull() {
            addCriterion("cmdStatus is not null");
            return (Criteria) this;
        }

        public Criteria andCmdstatusEqualTo(Integer value) {
            addCriterion("cmdStatus =", value, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusNotEqualTo(Integer value) {
            addCriterion("cmdStatus <>", value, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusGreaterThan(Integer value) {
            addCriterion("cmdStatus >", value, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("cmdStatus >=", value, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusLessThan(Integer value) {
            addCriterion("cmdStatus <", value, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusLessThanOrEqualTo(Integer value) {
            addCriterion("cmdStatus <=", value, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusIn(List<Integer> values) {
            addCriterion("cmdStatus in", values, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusNotIn(List<Integer> values) {
            addCriterion("cmdStatus not in", values, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusBetween(Integer value1, Integer value2) {
            addCriterion("cmdStatus between", value1, value2, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andCmdstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("cmdStatus not between", value1, value2, "cmdstatus");
            return (Criteria) this;
        }

        public Criteria andRststatusIsNull() {
            addCriterion("rstStatus is null");
            return (Criteria) this;
        }

        public Criteria andRststatusIsNotNull() {
            addCriterion("rstStatus is not null");
            return (Criteria) this;
        }

        public Criteria andRststatusEqualTo(Integer value) {
            addCriterion("rstStatus =", value, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusNotEqualTo(Integer value) {
            addCriterion("rstStatus <>", value, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusGreaterThan(Integer value) {
            addCriterion("rstStatus >", value, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("rstStatus >=", value, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusLessThan(Integer value) {
            addCriterion("rstStatus <", value, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusLessThanOrEqualTo(Integer value) {
            addCriterion("rstStatus <=", value, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusIn(List<Integer> values) {
            addCriterion("rstStatus in", values, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusNotIn(List<Integer> values) {
            addCriterion("rstStatus not in", values, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusBetween(Integer value1, Integer value2) {
            addCriterion("rstStatus between", value1, value2, "rststatus");
            return (Criteria) this;
        }

        public Criteria andRststatusNotBetween(Integer value1, Integer value2) {
            addCriterion("rstStatus not between", value1, value2, "rststatus");
            return (Criteria) this;
        }

        public Criteria andCmdtypeIsNull() {
            addCriterion("cmdType is null");
            return (Criteria) this;
        }

        public Criteria andCmdtypeIsNotNull() {
            addCriterion("cmdType is not null");
            return (Criteria) this;
        }

        public Criteria andCmdtypeEqualTo(Integer value) {
            addCriterion("cmdType =", value, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeNotEqualTo(Integer value) {
            addCriterion("cmdType <>", value, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeGreaterThan(Integer value) {
            addCriterion("cmdType >", value, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("cmdType >=", value, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeLessThan(Integer value) {
            addCriterion("cmdType <", value, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeLessThanOrEqualTo(Integer value) {
            addCriterion("cmdType <=", value, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeIn(List<Integer> values) {
            addCriterion("cmdType in", values, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeNotIn(List<Integer> values) {
            addCriterion("cmdType not in", values, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeBetween(Integer value1, Integer value2) {
            addCriterion("cmdType between", value1, value2, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andCmdtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("cmdType not between", value1, value2, "cmdtype");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNull() {
            addCriterion("priority is null");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNotNull() {
            addCriterion("priority is not null");
            return (Criteria) this;
        }

        public Criteria andPriorityEqualTo(Integer value) {
            addCriterion("priority =", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotEqualTo(Integer value) {
            addCriterion("priority <>", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThan(Integer value) {
            addCriterion("priority >", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThanOrEqualTo(Integer value) {
            addCriterion("priority >=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThan(Integer value) {
            addCriterion("priority <", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThanOrEqualTo(Integer value) {
            addCriterion("priority <=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityIn(List<Integer> values) {
            addCriterion("priority in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotIn(List<Integer> values) {
            addCriterion("priority not in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityBetween(Integer value1, Integer value2) {
            addCriterion("priority between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotBetween(Integer value1, Integer value2) {
            addCriterion("priority not between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andAgainstidIsNull() {
            addCriterion("againstId is null");
            return (Criteria) this;
        }

        public Criteria andAgainstidIsNotNull() {
            addCriterion("againstId is not null");
            return (Criteria) this;
        }

        public Criteria andAgainstidEqualTo(String value) {
            addCriterion("againstId =", value, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidNotEqualTo(String value) {
            addCriterion("againstId <>", value, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidGreaterThan(String value) {
            addCriterion("againstId >", value, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidGreaterThanOrEqualTo(String value) {
            addCriterion("againstId >=", value, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidLessThan(String value) {
            addCriterion("againstId <", value, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidLessThanOrEqualTo(String value) {
            addCriterion("againstId <=", value, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidLike(String value) {
            addCriterion("againstId like", value, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidNotLike(String value) {
            addCriterion("againstId not like", value, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidIn(List<String> values) {
            addCriterion("againstId in", values, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidNotIn(List<String> values) {
            addCriterion("againstId not in", values, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidBetween(String value1, String value2) {
            addCriterion("againstId between", value1, value2, "againstid");
            return (Criteria) this;
        }

        public Criteria andAgainstidNotBetween(String value1, String value2) {
            addCriterion("againstId not between", value1, value2, "againstid");
            return (Criteria) this;
        }

        public Criteria andTrytimesIsNull() {
            addCriterion("tryTimes is null");
            return (Criteria) this;
        }

        public Criteria andTrytimesIsNotNull() {
            addCriterion("tryTimes is not null");
            return (Criteria) this;
        }

        public Criteria andTrytimesEqualTo(Integer value) {
            addCriterion("tryTimes =", value, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesNotEqualTo(Integer value) {
            addCriterion("tryTimes <>", value, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesGreaterThan(Integer value) {
            addCriterion("tryTimes >", value, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("tryTimes >=", value, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesLessThan(Integer value) {
            addCriterion("tryTimes <", value, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesLessThanOrEqualTo(Integer value) {
            addCriterion("tryTimes <=", value, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesIn(List<Integer> values) {
            addCriterion("tryTimes in", values, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesNotIn(List<Integer> values) {
            addCriterion("tryTimes not in", values, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesBetween(Integer value1, Integer value2) {
            addCriterion("tryTimes between", value1, value2, "trytimes");
            return (Criteria) this;
        }

        public Criteria andTrytimesNotBetween(Integer value1, Integer value2) {
            addCriterion("tryTimes not between", value1, value2, "trytimes");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNull() {
            addCriterion("startTime is null");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNotNull() {
            addCriterion("startTime is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimeEqualTo(Date value) {
            addCriterion("startTime =", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotEqualTo(Date value) {
            addCriterion("startTime <>", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThan(Date value) {
            addCriterion("startTime >", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("startTime >=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThan(Date value) {
            addCriterion("startTime <", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThanOrEqualTo(Date value) {
            addCriterion("startTime <=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeIn(List<Date> values) {
            addCriterion("startTime in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotIn(List<Date> values) {
            addCriterion("startTime not in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeBetween(Date value1, Date value2) {
            addCriterion("startTime between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotBetween(Date value1, Date value2) {
            addCriterion("startTime not between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("endTime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("endTime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("endTime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("endTime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("endTime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("endTime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("endTime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("endTime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("endTime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("endTime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("endTime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("endTime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andSenttimeIsNull() {
            addCriterion("sentTime is null");
            return (Criteria) this;
        }

        public Criteria andSenttimeIsNotNull() {
            addCriterion("sentTime is not null");
            return (Criteria) this;
        }

        public Criteria andSenttimeEqualTo(Date value) {
            addCriterion("sentTime =", value, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeNotEqualTo(Date value) {
            addCriterion("sentTime <>", value, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeGreaterThan(Date value) {
            addCriterion("sentTime >", value, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("sentTime >=", value, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeLessThan(Date value) {
            addCriterion("sentTime <", value, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeLessThanOrEqualTo(Date value) {
            addCriterion("sentTime <=", value, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeIn(List<Date> values) {
            addCriterion("sentTime in", values, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeNotIn(List<Date> values) {
            addCriterion("sentTime not in", values, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeBetween(Date value1, Date value2) {
            addCriterion("sentTime between", value1, value2, "senttime");
            return (Criteria) this;
        }

        public Criteria andSenttimeNotBetween(Date value1, Date value2) {
            addCriterion("sentTime not between", value1, value2, "senttime");
            return (Criteria) this;
        }

        public Criteria andCsidIsNull() {
            addCriterion("csId is null");
            return (Criteria) this;
        }

        public Criteria andCsidIsNotNull() {
            addCriterion("csId is not null");
            return (Criteria) this;
        }

        public Criteria andCsidEqualTo(Integer value) {
            addCriterion("csId =", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotEqualTo(Integer value) {
            addCriterion("csId <>", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThan(Integer value) {
            addCriterion("csId >", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThanOrEqualTo(Integer value) {
            addCriterion("csId >=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThan(Integer value) {
            addCriterion("csId <", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThanOrEqualTo(Integer value) {
            addCriterion("csId <=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidIn(List<Integer> values) {
            addCriterion("csId in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotIn(List<Integer> values) {
            addCriterion("csId not in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidBetween(Integer value1, Integer value2) {
            addCriterion("csId between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotBetween(Integer value1, Integer value2) {
            addCriterion("csId not between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNull() {
            addCriterion("taskType is null");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNotNull() {
            addCriterion("taskType is not null");
            return (Criteria) this;
        }

        public Criteria andTasktypeEqualTo(Integer value) {
            addCriterion("taskType =", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotEqualTo(Integer value) {
            addCriterion("taskType <>", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThan(Integer value) {
            addCriterion("taskType >", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("taskType >=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThan(Integer value) {
            addCriterion("taskType <", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThanOrEqualTo(Integer value) {
            addCriterion("taskType <=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeIn(List<Integer> values) {
            addCriterion("taskType in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotIn(List<Integer> values) {
            addCriterion("taskType not in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeBetween(Integer value1, Integer value2) {
            addCriterion("taskType between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotBetween(Integer value1, Integer value2) {
            addCriterion("taskType not between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTaskidIsNull() {
            addCriterion("taskId is null");
            return (Criteria) this;
        }

        public Criteria andTaskidIsNotNull() {
            addCriterion("taskId is not null");
            return (Criteria) this;
        }

        public Criteria andTaskidEqualTo(Integer value) {
            addCriterion("taskId =", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotEqualTo(Integer value) {
            addCriterion("taskId <>", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidGreaterThan(Integer value) {
            addCriterion("taskId >", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidGreaterThanOrEqualTo(Integer value) {
            addCriterion("taskId >=", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLessThan(Integer value) {
            addCriterion("taskId <", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidLessThanOrEqualTo(Integer value) {
            addCriterion("taskId <=", value, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidIn(List<Integer> values) {
            addCriterion("taskId in", values, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotIn(List<Integer> values) {
            addCriterion("taskId not in", values, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidBetween(Integer value1, Integer value2) {
            addCriterion("taskId between", value1, value2, "taskid");
            return (Criteria) this;
        }

        public Criteria andTaskidNotBetween(Integer value1, Integer value2) {
            addCriterion("taskId not between", value1, value2, "taskid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}